package 封装;

public class 打印信息 {
	public static void main(String[] args) {
		User user1 = new User(01,"sgx",21,"java");
	}
	public static void printinfo(User user) {
			System.out.println(user.name+"是个好孩子");
		}
}
